﻿using System.Collections.ObjectModel;

namespace Moria
{
	public class StoreOwner
	{
        
        private StoreOwner(string name, int maxCost,int maxInflate,int minInflate,int hagglePer,int race,int insultMax) 
        {
        this.Name = name;
            this.max_cost = maxCost;
            this.max_inflate = maxInflate;
            this.min_inflate = minInflate;
            this.haggle_per = hagglePer;
            this.Race = race;
            this.insult_max = insultMax;
        }

        public string Name { get;private set; }
        public int max_cost { get;private  set; }
        public int max_inflate { get;private  set; }
        public int min_inflate { get;private  set; }
        public int haggle_per { get;private  set; }
        public int Race { get;private  set; }
        public int insult_max { get; private set; }

        public static ReadOnlyCollection<StoreOwner> owners = new ReadOnlyCollection<StoreOwner>( new StoreOwner[] 
        {
            new StoreOwner("Erick the Honest       (Human)		",	  250,	175,  108,    4, 0, 12),
            new StoreOwner("Mauglin the Grumpy     (Dwarf)		",	32000,	200,  112,    4, 5,  5),
            new StoreOwner("Arndal Beast-Slayer    (Half-Elf)	",	10000,	185,  110,    5, 1,  8),
            new StoreOwner("Hardblow the Humble    (Human)     ",	 3500,	175,  109,    6, 0, 15),
            new StoreOwner("Ga-nat the Greedy      (Gnome)     ",	12000,	220,  115,    4, 4,  9),
            new StoreOwner("Valeria Starshine      (Elf)       ",	32000,	175,  110,    5, 2, 11),
            new StoreOwner("Andy the Friendly      (Halfling)  ",	  200,	170,  108,    5, 3, 15),
            new StoreOwner("Darg-Low the Grim      (Human)     ",	10000,	190,  111,    4, 0,  9),
            new StoreOwner("Oglign Dragon-Slayer   (Dwarf)     ",	32000,	195,  112,    4, 5,  8),
            new StoreOwner("Gunnar the Paladin     (Human)     ",	 5000,	185,  110,    5, 0, 23),
            new StoreOwner("Mauser the Chemist     (Half-Elf)  ",	10000,	190,  111,    5, 1,  8),
            new StoreOwner("Gopher the Great!      (Gnome)     ",	20000,	215,  113,    6, 4, 10),
            new StoreOwner("Lyar-el the Comely     (Elf)       ",	  300,	165,  107,    6, 2, 18),
            new StoreOwner("Mauglim the Horrible   (Half-Orc)  ",	 3000,	200,  113,    5, 6,  9),
            new StoreOwner("Ithyl-Mak the Beastly  (Half-Troll)",	 3000,	210,  115,    6, 7,  8),
            new StoreOwner("Delilah the Pure       (Half-Elf)  ",	25000,	180,  107,    6, 1, 20),
            new StoreOwner("Wizzle the Chaotic     (Halfling)  ",	10000,	190,  110,    6, 3,  8),
            new StoreOwner("Inglorian the Mage     (Human?)    ",	32000,	200,  110,    7, 0, 10)
        });

    }
}
